package org.holynite.fieldmanage.persistence

import org.holynite.fieldmanage.entities.Administrator

import javax.ejb.Local

/**
 * Created by midnite on 15/1/7.
 */
@Local
interface AdministratorEAO extends EAO {
	int checkAdministratorAmount()
	int checkAvaliableAdministrator()
	Boolean checkWorkIdUsable(String workId)
	Administrator findAdministratorByName(String name)
	List<Administrator> searchAdministrators(String keyword)
}